/**
 * article模块接口列表
 */
import base from '@/api/plugins/base'
import axios from '@/api/plugins/request'

const leave = {
  /**
   * 请假列表
   */
  getLeaveList(query) {
    return axios.post(`${base.sq}/teacher/leave/getLeaveList`,query)
  },
  /**
   * 审批请假
   */
  approLeave(query) {
    return axios.post(`${base.sq}/teacher/leave/updateStatus`,query)
  },
}

export default leave